MCGetControllerBoundsRgn
Some movie controllers may not be rectangular in shape. TheMCGetControllerBoundsRgn
function returns the actual region occupied by the controller and its movie, if the movie is attached to the controller. If the movie is not attached to its controller, the boundary region encloses only the control portion of the controller. The rectangle returned by theMCGetControllerBoundsRect
function (described in the previous section) bounds the region returned byMCGetControllerBoundsRgn
.
pascal RgnHandle MCGetControllerBoundsRgn (MovieController mc);
mc
- Specifies the movie controller for the operation. You obtain this
identifier from the Component Manager'sOpenComponent
orOpenDefaultComponent
function, or from theNewMovieController
function.DESCRIPTION
As with theMCGetControllerBoundsRect
function, theMCGetControllerBoundsRgn
function returns a region that reflects the size, shape, and location of the controller, even if the controller is hidden. Your application must dispose of the returned region.The
MCGetControllerBoundsRgn
function returns a handle to the boundary region. Your application must dispose of this region.RESULT CODES
Memory Manager errorsSEE ALSO
You can use theMCGetWindowRgn
function, described in the next section, to determine the portion of the window that is currently in use by the controller.
Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help